
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rmidevmediateste;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author 710933
 */
public interface ServidorChat extends Remote{

    public String conectar(InterfaceComunicacaoRMI c) throws RemoteException;

    public void enviar (String mensagem) throws RemoteException;

    public void desconectar(InterfaceComunicacaoRMI c) throws RemoteException;

}